export default {
  title: '基础库',
  children: [
    {
      icon: new URL('./images/rect.svg', import.meta.url),
      title: '矩形',
      describe: '',
      config: { shape: 'BaseRect', width: 60, height: 40 }
    },
    {
      icon: new URL('./images/picture.svg', import.meta.url),
      title: '图片',
      describe: '',
      config: {
        shape: 'BaseImage',
        width: 60,
        height: 60,
        attrs: { image: { href: new URL('./images/picture.svg', import.meta.url).toString() } }
      }
    },
    {
      icon: new URL('./images/text.svg', import.meta.url),
      title: '文本',
      describe: '',
      config: { shape: 'TextBox', width: 60, height: 60 }
    },
    {
      icon: new URL('./images/line.svg', import.meta.url),
      title: '线',
      describe: '',
      config: {
        shape: 'Line',
        width: 60,
        height: 60,
        attrs: { image: { href: new URL('./images/line.svg', import.meta.url).toString() } }
      }
    }
  ]
}
